package com.xinshujia.wxxcx.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinshujia.wxxcx.pojos.entity.WxUser;
import com.xinshujia.wxxcx.pojos.info.WxUserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Author Cui Han
 * @Date 2024/4/27 13:56
 * @Description: TODO
 * @Version 1.0
 */
@Mapper
public interface WxUserMapper extends BaseMapper<WxUser> {

    @Select("SELECT * FROM wx_user WHERE phone = #{phone}")
    WxUserInfo selectUserInfo(String phone);
}
